$body-color: #312e2b;
$white: #fff;
$chess-green: #769656;

body {
  background-color: $body-color;
  color: $white;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  padding: 0;
  margin: 0;
}

.app {
  margin: 2rem auto;
  width: 500px;
} 

h1 {
  text-align: center;
}

input {
  padding: 0.5rem;
  border: 1px solid transparent;
  width: 100%;

  &:focus {
    border-color: $chess-green;
    outline: none;
  }
}

.items {
  padding: 0 2rem;
  margin: 1rem 0;

  li {
    &:hover {
      cursor: pointer;
      color: $chess-green;
    }
  }

  &.completed li {
    color: $chess-green;
    text-decoration: line-through;

    &:hover {
      color: $white;
      text-decoration: none;
    }
  }
}